package com.yhp.service.impl;

import com.yhp.bean.Users;
import com.yhp.dao.UserDao;
import com.yhp.dao.impl.UserDaoImpl;
import com.yhp.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao=new UserDaoImpl();//多态
    @Override
    public Users login(String uname, String pass) {

        return userDao.login(uname,pass);
    }
}
